package com.haixin.security.service;


import com.haixin.security.bean.UserRole;

import java.util.List;

public interface UserRoleService {
    List<UserRole> getAllUserRoles();
    List<Integer> getRolesByUserId(int userId);
    boolean addUserRole(UserRole userRole);
    boolean removeUserRolesByUserId(int userId);
    boolean removeUserRole(UserRole userRole);
}
